package cn.lee.test.common.base.service;

import java.util.List;

/**
 * @author : lichl(李承霖)
 * create: 2021/4/15 11:10
 * info: 增删改查原子操作
 */

public interface CURDService<T, ID>{
  
  long curd_countAll();
  
  T curd_create(T entity);
  
  T curd_update(T entity);
  
  T curd_readById(ID id);
  
  T curd_removeById(ID id);
  
  T curd_remove(T entity);
  
  List<T> curd_getAll();
  
}
